import { ApiResult, post, get } from "@/util/request";

//根据id查询详情
export async function selectHiddenById(params?: any): Promise<ApiResult<any>> {
  return await get<any>("/manage/v1/hiddenDangerInfo/selectHiddenById", params);
}
//根据id分享模板
export async function shareWord(params?: any): Promise<ApiResult<any>> {
  return await get<any>("/manage/v1/hiddenDangerInfo/shareWord", params);
}
//分页查询
export async function pageHidden(params?: any): Promise<ApiResult<any>> {
  return await post<any>("/manage/v1/hiddenDangerInfo/pageHidden", params);
}
//统计
export async function shareTotal(params?: any): Promise<ApiResult<any>> {
  return await post<any>("/manage/v1/hiddenDangerInfo/shareTotal", params);
}
//导出
export async function exportUrl(params?: any): Promise<ApiResult<any>> {
  return await post<any>("/manage/v1/hiddenDangerInfo/export", params);
}
